3.1415 \(\int \frac{(a+b x)^3}{\sqrt{c+d x}} \, dx\)

Optimal. Leaf size=96 \[ -\frac{6 b^2 (c+d x)^{5/2} (b c-a d)}{5 d^4}+\frac{2 b (c+d x)^{3/2} (b c-a d)^2}{d^4}-\frac{2 \sqrt{c+d x} (b c-a d)^3}{d^4}+\frac{2 b^3 (c+d x)^{7/2}}{7 d^4} \]

[Out]

(-2*(b*c - a*d)^3*Sqrt[c + d*x])/d^4 + (2*b*(b*c - a*d)^2*(c + d*x)^(3/2))/d^4 -
 (6*b^2*(b*c - a*d)*(c + d*x)^(5/2))/(5*d^4) + (2*b^3*(c + d*x)^(7/2))/(7*d^4)

_______________________________________________________________________________________

Rubi [A]  time = 0.0970848, antiderivative size = 96, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.059 \[ -\frac{6 b^2 (c+d x)^{5/2} (b c-a d)}{5 d^4}+\frac{2 b (c+d x)^{3/2} (b c-a d)^2}{d^4}-\frac{2 \sqrt{c+d x} (b c-a d)^3}{d^4}+\frac{2 b^3 (c+d x)^{7/2}}{7 d^4} \]

Antiderivative was successfully verified.

[In]  Int[(a + b*x)^3/Sqrt[c + d*x],x]

[Out]

(-2*(b*c - a*d)^3*Sqrt[c + d*x])/d^4 + (2*b*(b*c - a*d)^2*(c + d*x)^(3/2))/d^4 -
 (6*b^2*(b*c - a*d)*(c + d*x)^(5/2))/(5*d^4) + (2*b^3*(c + d*x)^(7/2))/(7*d^4)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 21.4203, size = 88, normalized size = 0.92 \[ \frac{2 b^{3} \left (c + d x\right )^{\frac{7}{2}}}{7 d^{4}} + \frac{6 b^{2} \left (c + d x\right )^{\frac{5}{2}} \left (a d - b c\right )}{5 d^{4}} + \frac{2 b \left (c + d x\right )^{\frac{3}{2}} \left (a d - b c\right )^{2}}{d^{4}} + \frac{2 \sqrt{c + d x} \left (a d - b c\right )^{3}}{d^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b*x+a)**3/(d*x+c)**(1/2),x)

[Out]

2*b**3*(c + d*x)**(7/2)/(7*d**4) + 6*b**2*(c + d*x)**(5/2)*(a*d - b*c)/(5*d**4)
+ 2*b*(c + d*x)**(3/2)*(a*d - b*c)**2/d**4 + 2*sqrt(c + d*x)*(a*d - b*c)**3/d**4

_______________________________________________________________________________________

Mathematica [A]  time = 0.0757848, size = 101, normalized size = 1.05 \[ \frac{2 \sqrt{c+d x} \left (35 a^3 d^3+35 a^2 b d^2 (d x-2 c)+7 a b^2 d \left (8 c^2-4 c d x+3 d^2 x^2\right )+b^3 \left (-16 c^3+8 c^2 d x-6 c d^2 x^2+5 d^3 x^3\right )\right )}{35 d^4} \]

Antiderivative was successfully verified.

[In]  Integrate[(a + b*x)^3/Sqrt[c + d*x],x]

[Out]

(2*Sqrt[c + d*x]*(35*a^3*d^3 + 35*a^2*b*d^2*(-2*c + d*x) + 7*a*b^2*d*(8*c^2 - 4*
c*d*x + 3*d^2*x^2) + b^3*(-16*c^3 + 8*c^2*d*x - 6*c*d^2*x^2 + 5*d^3*x^3)))/(35*d
^4)

_______________________________________________________________________________________

Maple [A]  time = 0.009, size = 116, normalized size = 1.2 \[{\frac{10\,{b}^{3}{x}^{3}{d}^{3}+42\,a{b}^{2}{d}^{3}{x}^{2}-12\,{b}^{3}c{d}^{2}{x}^{2}+70\,{a}^{2}b{d}^{3}x-56\,a{b}^{2}c{d}^{2}x+16\,{b}^{3}{c}^{2}dx+70\,{a}^{3}{d}^{3}-140\,{a}^{2}bc{d}^{2}+112\,a{b}^{2}{c}^{2}d-32\,{b}^{3}{c}^{3}}{35\,{d}^{4}}\sqrt{dx+c}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b*x+a)^3/(d*x+c)^(1/2),x)

[Out]

2/35*(d*x+c)^(1/2)*(5*b^3*d^3*x^3+21*a*b^2*d^3*x^2-6*b^3*c*d^2*x^2+35*a^2*b*d^3*
x-28*a*b^2*c*d^2*x+8*b^3*c^2*d*x+35*a^3*d^3-70*a^2*b*c*d^2+56*a*b^2*c^2*d-16*b^3
*c^3)/d^4

_______________________________________________________________________________________

Maxima [A]  time = 1.42198, size = 185, normalized size = 1.93 \[ \frac{2 \,{\left (35 \, \sqrt{d x + c} a^{3} + \frac{35 \,{\left ({\left (d x + c\right )}^{\frac{3}{2}} - 3 \, \sqrt{d x + c} c\right )} a^{2} b}{d} + \frac{7 \,{\left (3 \,{\left (d x + c\right )}^{\frac{5}{2}} - 10 \,{\left (d x + c\right )}^{\frac{3}{2}} c + 15 \, \sqrt{d x + c} c^{2}\right )} a b^{2}}{d^{2}} + \frac{{\left (5 \,{\left (d x + c\right )}^{\frac{7}{2}} - 21 \,{\left (d x + c\right )}^{\frac{5}{2}} c + 35 \,{\left (d x + c\right )}^{\frac{3}{2}} c^{2} - 35 \, \sqrt{d x + c} c^{3}\right )} b^{3}}{d^{3}}\right )}}{35 \, d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^3/sqrt(d*x + c),x, algorithm="maxima")

[Out]

2/35*(35*sqrt(d*x + c)*a^3 + 35*((d*x + c)^(3/2) - 3*sqrt(d*x + c)*c)*a^2*b/d +
7*(3*(d*x + c)^(5/2) - 10*(d*x + c)^(3/2)*c + 15*sqrt(d*x + c)*c^2)*a*b^2/d^2 +
(5*(d*x + c)^(7/2) - 21*(d*x + c)^(5/2)*c + 35*(d*x + c)^(3/2)*c^2 - 35*sqrt(d*x
 + c)*c^3)*b^3/d^3)/d

_______________________________________________________________________________________

Fricas [A]  time = 0.202467, size = 155, normalized size = 1.61 \[ \frac{2 \,{\left (5 \, b^{3} d^{3} x^{3} - 16 \, b^{3} c^{3} + 56 \, a b^{2} c^{2} d - 70 \, a^{2} b c d^{2} + 35 \, a^{3} d^{3} - 3 \,{\left (2 \, b^{3} c d^{2} - 7 \, a b^{2} d^{3}\right )} x^{2} +{\left (8 \, b^{3} c^{2} d - 28 \, a b^{2} c d^{2} + 35 \, a^{2} b d^{3}\right )} x\right )} \sqrt{d x + c}}{35 \, d^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^3/sqrt(d*x + c),x, algorithm="fricas")

[Out]

2/35*(5*b^3*d^3*x^3 - 16*b^3*c^3 + 56*a*b^2*c^2*d - 70*a^2*b*c*d^2 + 35*a^3*d^3
- 3*(2*b^3*c*d^2 - 7*a*b^2*d^3)*x^2 + (8*b^3*c^2*d - 28*a*b^2*c*d^2 + 35*a^2*b*d
^3)*x)*sqrt(d*x + c)/d^4

_______________________________________________________________________________________

Sympy [A]  time = 10.3689, size = 366, normalized size = 3.81 \[ \begin{cases} - \frac{\frac{2 a^{3} c}{\sqrt{c + d x}} + 2 a^{3} \left (- \frac{c}{\sqrt{c + d x}} - \sqrt{c + d x}\right ) + \frac{6 a^{2} b c \left (- \frac{c}{\sqrt{c + d x}} - \sqrt{c + d x}\right )}{d} + \frac{6 a^{2} b \left (\frac{c^{2}}{\sqrt{c + d x}} + 2 c \sqrt{c + d x} - \frac{\left (c + d x\right )^{\frac{3}{2}}}{3}\right )}{d} + \frac{6 a b^{2} c \left (\frac{c^{2}}{\sqrt{c + d x}} + 2 c \sqrt{c + d x} - \frac{\left (c + d x\right )^{\frac{3}{2}}}{3}\right )}{d^{2}} + \frac{6 a b^{2} \left (- \frac{c^{3}}{\sqrt{c + d x}} - 3 c^{2} \sqrt{c + d x} + c \left (c + d x\right )^{\frac{3}{2}} - \frac{\left (c + d x\right )^{\frac{5}{2}}}{5}\right )}{d^{2}} + \frac{2 b^{3} c \left (- \frac{c^{3}}{\sqrt{c + d x}} - 3 c^{2} \sqrt{c + d x} + c \left (c + d x\right )^{\frac{3}{2}} - \frac{\left (c + d x\right )^{\frac{5}{2}}}{5}\right )}{d^{3}} + \frac{2 b^{3} \left (\frac{c^{4}}{\sqrt{c + d x}} + 4 c^{3} \sqrt{c + d x} - 2 c^{2} \left (c + d x\right )^{\frac{3}{2}} + \frac{4 c \left (c + d x\right )^{\frac{5}{2}}}{5} - \frac{\left (c + d x\right )^{\frac{7}{2}}}{7}\right )}{d^{3}}}{d} & \text{for}\: d \neq 0 \\\frac{\begin{cases} a^{3} x & \text{for}\: b = 0 \\\frac{\left (a + b x\right )^{4}}{4 b} & \text{otherwise} \end{cases}}{\sqrt{c}} & \text{otherwise} \end{cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x+a)**3/(d*x+c)**(1/2),x)

[Out]

Piecewise((-(2*a**3*c/sqrt(c + d*x) + 2*a**3*(-c/sqrt(c + d*x) - sqrt(c + d*x))
+ 6*a**2*b*c*(-c/sqrt(c + d*x) - sqrt(c + d*x))/d + 6*a**2*b*(c**2/sqrt(c + d*x)
 + 2*c*sqrt(c + d*x) - (c + d*x)**(3/2)/3)/d + 6*a*b**2*c*(c**2/sqrt(c + d*x) +
2*c*sqrt(c + d*x) - (c + d*x)**(3/2)/3)/d**2 + 6*a*b**2*(-c**3/sqrt(c + d*x) - 3
*c**2*sqrt(c + d*x) + c*(c + d*x)**(3/2) - (c + d*x)**(5/2)/5)/d**2 + 2*b**3*c*(
-c**3/sqrt(c + d*x) - 3*c**2*sqrt(c + d*x) + c*(c + d*x)**(3/2) - (c + d*x)**(5/
2)/5)/d**3 + 2*b**3*(c**4/sqrt(c + d*x) + 4*c**3*sqrt(c + d*x) - 2*c**2*(c + d*x
)**(3/2) + 4*c*(c + d*x)**(5/2)/5 - (c + d*x)**(7/2)/7)/d**3)/d, Ne(d, 0)), (Pie
cewise((a**3*x, Eq(b, 0)), ((a + b*x)**4/(4*b), True))/sqrt(c), True))

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.220866, size = 213, normalized size = 2.22 \[ \frac{2 \,{\left (35 \, \sqrt{d x + c} a^{3} + \frac{35 \,{\left ({\left (d x + c\right )}^{\frac{3}{2}} - 3 \, \sqrt{d x + c} c\right )} a^{2} b}{d} + \frac{7 \,{\left (3 \,{\left (d x + c\right )}^{\frac{5}{2}} d^{8} - 10 \,{\left (d x + c\right )}^{\frac{3}{2}} c d^{8} + 15 \, \sqrt{d x + c} c^{2} d^{8}\right )} a b^{2}}{d^{10}} + \frac{{\left (5 \,{\left (d x + c\right )}^{\frac{7}{2}} d^{18} - 21 \,{\left (d x + c\right )}^{\frac{5}{2}} c d^{18} + 35 \,{\left (d x + c\right )}^{\frac{3}{2}} c^{2} d^{18} - 35 \, \sqrt{d x + c} c^{3} d^{18}\right )} b^{3}}{d^{21}}\right )}}{35 \, d} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x + a)^3/sqrt(d*x + c),x, algorithm="giac")

[Out]

2/35*(35*sqrt(d*x + c)*a^3 + 35*((d*x + c)^(3/2) - 3*sqrt(d*x + c)*c)*a^2*b/d +
7*(3*(d*x + c)^(5/2)*d^8 - 10*(d*x + c)^(3/2)*c*d^8 + 15*sqrt(d*x + c)*c^2*d^8)*
a*b^2/d^10 + (5*(d*x + c)^(7/2)*d^18 - 21*(d*x + c)^(5/2)*c*d^18 + 35*(d*x + c)^
(3/2)*c^2*d^18 - 35*sqrt(d*x + c)*c^3*d^18)*b^3/d^21)/d